<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2023/5/24
  Time: 16:57
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>左边菜单页</title>
  <link href="${pageContext.request.contextPath}/css/bootstrap.min.css" rel="stylesheet"/>
  <script src="${pageContext.request.contextPath}/js/jquery-3.4.1.min.js"></script>
  <script src="${pageContext.request.contextPath}/js/bootstrap.min.js"></script>
</head>
<body>
  <%--<ul>
    <li>
      &lt;%&ndash;target:打开方式
        如果在框架标签中使用,必须指定在哪一个farme中打开
      &ndash;%&gt;
      <a  target="main" href="${pageContext.request.contextPath}/admin_AllUser">查询所有</a>
    </li>
  </ul>--%>

  <%--bootstrap提供按钮式下拉菜单组件--%>
  <div class="btn-group">
    <button type="button" class="btn btn-primary dropdown-toggle"
            data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
      用户管理<span class="caret"></span>
    </button>
    <!--class="dropdown-menu"指定触发器的菜单项-->
    <ul class="dropdown-menu">
      <!--列表标签-->
      <li>
        <a href="${pageContext.request.contextPath}/admin?methodName=getUserByPage" target="main">查询所有用户</a>
      </li>

    </ul>
  </div>
  <br/>
  <div  style="margin-top: 10px;" class="btn-group">
    <button type="button" class="btn btn-primary dropdown-toggle"
            data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
      商品管理<span class="caret"></span>
    </button>
    <!--class="dropdown-menu"指定触发器的菜单项-->
    <ul class="dropdown-menu">
      <!--列表标签-->
      <li>
        <a href="${pageContext.request.contextPath}/product?methodName=findAllProduct"
           target="main">查询所有商品</a>
      </li>

    </ul>
  </div>
</body>
</html>
